<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: HaRiA
  Date: 28.08.2014
  Time: 09:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Create project</title>
</head>
<body>

<form name="createForm" action="create" method="POST">

    Name: <input type='text' name='name' value=''><br/>
    Field:  <select name="fieldId">
            <c:forEach items="${fields}" var = "field" >
                <option value="${field.fieldId}">${field.fieldName}</option>
            </c:forEach>

    </select>



    <input name="create" type="submit" value="Create" />

  </form>

</body>
</html>
